package cn.lzd.mvp.main.sample;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class SampleBeans {

    public static class WeatherData {
        @SerializedName("product")
        private String product;
        @SerializedName("init")
        private String init;
        @SerializedName("dataseries")
        private List<DayData> datas;

        public String getProduct() {
            return product;
        }

        public String getInit() {
            return init;
        }

        public List<DayData> getDatas() {
            return datas;
        }
    }

    public static class DayData {
        @SerializedName("timepoint")
        private Integer timepoint;
        @SerializedName("cloudcover")
        private Integer cloudcover;
        @SerializedName("seeing")
        private Integer seeing;
        @SerializedName("transparency")
        private Integer transparency;
        @SerializedName("lifted_index")
        private Integer liftedIndex;
        @SerializedName("rh2m")
        private Integer rh2m;
        @SerializedName("wind10m")
        private Wind10mData wind10m;
        @SerializedName("temp2m")
        private Integer temp2m;
        @SerializedName("prec_type")
        private String precType;

        public Integer getTimepoint() {
            return timepoint;
        }

        public Integer getCloudcover() {
            return cloudcover;
        }

        public Integer getSeeing() {
            return seeing;
        }

        public Integer getTransparency() {
            return transparency;
        }

        public Integer getLiftedIndex() {
            return liftedIndex;
        }

        public Integer getRh2m() {
            return rh2m;
        }

        public Wind10mData getWind10m() {
            return wind10m;
        }

        public Integer getTemp2m() {
            return temp2m;
        }

        public String getPrecType() {
            return precType;
        }
    }

    public static class Wind10mData {
        @SerializedName("direction")
        private String direction;
        @SerializedName("speed")
        private Integer speed;

        public String getDirection() {
            return direction;
        }

        public Integer getSpeed() {
            return speed;
        }
    }
}
